package com.qingmu.club.minaapi.custom.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qingmu.club.minaapi.custom.mapper.CustomClubUsersMapper;
import com.qingmu.club.minaapi.custom.service.CustomClubUsersService;
import com.qingmu.club.minaapi.plus.entity.ClubUsers;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 会员关注门店表 服务实现类
 * </p>
 *
 * @author duke
 * @since 2019-08-28
 */
@Service
public class CustomClubUsersServiceImpl extends ServiceImpl<CustomClubUsersMapper, ClubUsers> implements CustomClubUsersService {

    //门店粉丝
    @Override
    public List<Map<String, Object>> sumShopRankingList(Map<String, Object> param) {
        return this.baseMapper.sumShopRankingList(param);
    }

    @Override
    public List<Map<String, Object>> yearShopRankingList(Map<String, Object> param) {
        return this.baseMapper.yearShopRankingList(param);
    }

    @Override
    public List<Map<String, Object>> quarterShopRankingList(Map<String, Object> param) {
        return this.baseMapper.quarterShopRankingList(param);
    }

    @Override
    public List<Map<String, Object>> monthShopRankingList(Map<String, Object> param) {
        return this.baseMapper.monthShopRankingList(param);
    }

    @Override
    public List<Map<String, Object>> weekShopRankingList(Map<String, Object> param) {
        return this.baseMapper.weekShopRankingList(param);
    }


    //个人粉丝
    @Override
    public List<Map<String, Object>> sumPersonRankingList(Map<String, Object> param) {
        return this.baseMapper.sumPersonRankingList(param);
    }

    @Override
    public List<Map<String, Object>> yearPersonRankingList(Map<String, Object> param) {
        return this.baseMapper.yearPersonRankingList(param);
    }

    @Override
    public List<Map<String, Object>> quarterPersonRankingList(Map<String, Object> param) {
        return this.baseMapper.quarterPersonRankingList(param);
    }

    @Override
    public List<Map<String, Object>> monthPersonRankingList(Map<String, Object> param) {
        return this.baseMapper.monthPersonRankingList(param);
    }

    @Override
    public List<Map<String, Object>> weekPersonRankingList(Map<String, Object> param) {
        return this.baseMapper.weekPersonRankingList(param);
    }


}
